Helpful Information
 
 
Category: HTML FORM
HTML form > xml > HTTP POST

I am a real newbie which will be obvious by my question. So an apology to all who know this so well you can’t believe I am asking this. :eek: However I still need to ask……so here is my question.

This is a payment transaction using direct HTTP POST to submit and below you will find the code supplied us which does work as when I send, it tells me it performs a successful transaction…however….

I want to create a form for users to fill in based on the required customer info that is found within the coding (you know their account number, billing info, amount, etc.) and have THAT form information send through the HTTP POST method to the payment processing company THEN I need to either view or get a copy of the form for our files.

Sorry, I don’t program in C# nor am I familiar with .NET. Am passable in .asp, javascript and .php.

We are a non-profit organization using this method to try and gather donations to help us support our causes, so a suggestion to hire developers is beyond us.

Any help you can offer would be sooooo appreciated. Thanks in advance.


-----------------------------------------------------------------------------------------------------------

All transactions sent using the HTTP Post method must be URL encoded using the
application/x-www-form-urlencoded format.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<title>Direct Debit Test</title>
<body>
<form NAME="Direct Debit" METHOD="post"
ACTION="sends to the payment company">
<b>Transaction Mode: </b>
<br>
<select name="txnMode">
<option value="charge">Charge</option>
<option value="credit">Credit</option>
<option value="verify">Verify</option>
</select>
<br>
<br>
<b>XML Message body:</b>
<TEXTAREA class="xmlbox" name="txnRequest" COLS=100 ROWS=10>
<ddCheckRequestV1 xmlns="sends to the payment company">
<merchantAccount>
<accountNum>11111111</accountNum>
<storeID>myStoreID</storeID>
<storePwd>myStorePWD</storePwd>
</merchantAccount>
<merchantRefNum>Ref-11111</merchantRefNum>
<amount>10.00</amount>
<check>
<accountType>PC</accountType>
<bankName>Chase</bankName>
<checkNum>12</checkNum>
<accountNum>11111111</accountNum>
<routingNum>11111111</routingNum>
</check>
<billingDetails>
<checkPayMethod>WEB</checkPayMethod>
<firstName>Jane</firstName>
<lastName>Doe</lastName>
<street>123 Main Street</street>
<city>LA</city>
<state>CA</state>
<country>US</country>
<zip>90210</zip>
<phone>555-555-5555</phone>
<email>janejones@emailserverpretend.com</email>
</billingDetails>
<sdk>
<version>1.0</version>
<platform>http</platform>
<provider>Merchant</provider>
</sdk>
</ddCheckRequestV1>
</TEXTAREA> <br>
<input TYPE=submit class=input VALUE="Send Request">
</form>
</body>
</html>

Try the paypal donation button. You can just put it on your site and you don't have to bother with any of the above then :).

However if I was going to collect data like you are it is imperative to have some kind of encryption SSL or something.

Try the paypal donation button. You can just put it on your site and you don't have to bother with any of the above then :).

However if I was going to collect data like you are it is imperative to have some kind of encryption SSL or something.

Thank you Resonator. Am sending the info through a SSL. I agree, PayPal would have been easier. I got some helpful info from another source yesterday and I think has me going in the right direction. Thanks for your help.

In Html we can Define our own tags...but in XML we can define our own tags fro the data transfer and storage of the Data...Its very simple ..Xml is also licensed free...










privacy (GDPR)